import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.transaction.annotation.Transactional;

import com.kfc.platform.user.domain.User;
import com.kfc.platform.user.service.UserService;
import com.kfc.platform.user.service.impl.UserServiceImpl;

@ContextConfiguration("/applicationContext.xml")
@Transactional
public class UserTest {
	@Autowired
	private UserService userService ;
//	= new UserServiceImpl();
	public void testCreateUser(){
		User user = new User();

		userService.createUser(user);
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		new UserTest().testCreateUser();
	}
}
